package aden.Generic;

import android.graphics.Bitmap;

public class GenAction
{
    protected Bitmap mIcon;
    protected GenIconMenu mMenu;
    
    static final int Type_HIER = 0;
    static final int Type_PRIM = 1;
    static final int Type_UP = 2;
    static final int Type_Undefined = 3;
    
    public GenAction(GenIconMenu inMenu,
                   Bitmap       inIcon)
    {
        mMenu = inMenu;
        mIcon = inIcon;
    }
    
    // to be overloaded
    public int GetType() {return Type_Undefined;}
    public Bitmap GetIcon() {return mIcon;}
    public float GetWidth() {return mIcon.getWidth();}
    public float GetHeight() {return mIcon.getHeight();}
    public GenIconMenu GetMenu() {return mMenu;}
    public boolean Process()
    {
        return true;
    }


}

